
package com.azxc.rapid.library.entity;

import java.math.BigDecimal;

import com.azxc.rapid.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 图书表实体类
 * @since 2023-11-19
 */
@Data
@TableName("lib_book")
@ApiModel(value = "Book对象", description = "图书表")
public class Book extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 书名
	*/
		@ApiModelProperty(value = "书名",required = true)
		private String bookName;
	/**
	* 类型编号
	*/
		@ApiModelProperty(value = "类型编号",required = true)
		private Integer categoryId;
	/**
	* 作者
	*/
		@ApiModelProperty(value = "作者",required = true)
		private String anthor;
	/**
	* 出版社
	*/
		@ApiModelProperty(value = "出版社",required = true)
		private String publish;
	/**
	* 价格
	*/
		@ApiModelProperty(value = "价格",required = true)
		private BigDecimal price;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注",required = false)
		private String remark;

}
